package com.tanhua.dubbo.server.pojo;

import com.sun.javafx.beans.IDProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @Author: Shanhai
 * Never say Never
 * @Date: 2020/12/15 8:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "soul_score")
public class Score implements Serializable {

    private static final long serialVersionUID = 8928087361862872770L;

    @Id
    private ObjectId id;

    private Integer userId;
    private String level;
    private Integer score;
    private String character;

}